
<!DOCTYPE html>
<html>
<head>
<title>类目列表</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="css/bootstrap.css"/> 
</head>
<body>
<div class="container-fluid">

	




	<nav class="navbar navbar-default" role="navigation">
		<div class="container-fluid">
			<div class="navbar-header">
				<a class="navbar-brand" href="">MilkTeaShop后台</a>
			</div>
			<div>
				<ul class="nav navbar-nav">
					<li ><a href="orderList.action">订单管理</a></li>
					<li ><a href="userList.action">客户管理</a></li>
					<li ><a href="goodList.action">商品管理</a></li>
					<li class="active"><a href="typeList.action">类目管理</a></li>
					<li ><a href="adminRe.action">修改密码</a></li>
					<li><a href="logout.action">退出</a></li>
				</ul>
			</div>
		</div>
	</nav>
	
	<br>
	
	<div>
		<form class="form-inline" method="post" action="typeSave.action">
			<input type="text" class="form-control" id="input_name" name="type.name" placeholder="输入类目名称" required="required" style="width: 500px">
			<input type="submit" class="btn btn-warning" value="添加类目"/>
		</form>
	</div>
	
	<br>

	<table class="table table-bordered table-hover">

	<tr>
		<th width="5%">ID</th>
		<th width="10%">名称</th>
		<th width="10%">操作</th>
	</tr>
	
	
         <tr>
         	<td><p>5</p></td>
         	<td><p>经典系列</p></td>
			<td>
				<a class="btn btn-primary" href="typeEdit.action?id=5">修改</a>
				<a class="btn btn-danger" href="typeDelete.action?type.id=5">删除</a>
			</td>
       	</tr>
     
         <tr>
         	<td><p>4</p></td>
         	<td><p>超级植物茶系列</p></td>
			<td>
				<a class="btn btn-primary" href="typeEdit.action?id=4">修改</a>
				<a class="btn btn-danger" href="typeDelete.action?type.id=4">删除</a>
			</td>
       	</tr>
     
         <tr>
         	<td><p>3</p></td>
         	<td><p>芋泥系列</p></td>
			<td>
				<a class="btn btn-primary" href="typeEdit.action?id=3">修改</a>
				<a class="btn btn-danger" href="typeDelete.action?type.id=3">删除</a>
			</td>
       	</tr>
     
         <tr>
         	<td><p>2</p></td>
         	<td><p>芝芝系列</p></td>
			<td>
				<a class="btn btn-primary" href="typeEdit.action?id=2">修改</a>
				<a class="btn btn-danger" href="typeDelete.action?type.id=2">删除</a>
			</td>
       	</tr>
     
         <tr>
         	<td><p>1</p></td>
         	<td><p>抹茶系列</p></td>
			<td>
				<a class="btn btn-primary" href="typeEdit.action?id=1">修改</a>
				<a class="btn btn-danger" href="typeDelete.action?type.id=1">删除</a>
			</td>
       	</tr>
     
     
</table>

</div>
</body>
</html>